import { Button, Notify, Field } from 'vant';
function install(Vue) {
  var components = [
    Button
    ,Notify
    ,Field
  ];
  components.forEach(function (item) {
    if (item.install) {
      Vue.use(item);
    } else if (item.name) {
      Vue.component(item.name, item);
    }
  });
}

export default {
  install: install,
};